package com.heima.apis.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojos.ApUser;
import com.heima.model.wemedia.pojos.WmUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author 霍森彪
 * @date 2022/7/26 21:47
 */
@FeignClient("leadnews-wemedia")
public interface IWemediaClient {

    @PostMapping("/wemedia/user/add")
    ResponseResult addUser(@RequestBody Map<String, String> param);

}
